﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    /// <summary>
    /// 操作的选项
    /// </summary>
    public class ActionOption
    {
        /// <summary>
        /// 参与对象的编号
        /// </summary>
        public string ObjectId { get; set; }

        /// <summary>
        /// 参与对象的名称
        /// </summary>
        public string ObjectName { get; set; }

        /// <summary>
        /// 参与对象的类型
        /// </summary>
        public string ObjectType { get; set; }

        /// <summary>
        /// 附加标签
        /// </summary>
        public string Tag { get; set; }

        public ActionOption(string objectId,
            string objectName,
            string objectType,
            string tag)
        {
            this.ObjectId = objectId;
            this.ObjectName = objectName;
            this.ObjectType = objectType;
            this.Tag = tag;
        }
    }
}
